package com.tsm.picachu;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.Window;
import android.view.WindowManager;

public class GeneralActivity extends Activity
{
	protected final String TAG = getClass().getName();

	@Override
	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);

		requestWindowFeature(Window.FEATURE_NO_TITLE);
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
				WindowManager.LayoutParams.FLAG_FULLSCREEN);
	}

	protected void debug(String string)
	{
		Log.d(TAG, "@@@@@@@@@@@@@@@ " + string);
	}
	
	@Override
	public void onBackPressed()
	{
	}

	@SuppressWarnings("rawtypes")
	public void startActivity(Class className)
	{
		super.startActivity(new Intent(this, className));
	}
}
